<?php
namespace backend\controllers;

use Yii;
use yii\web\Controller;

/**
 * Site controller
 */
class AccountController
{
    public function actionAccountlist()
    {
        $model=new Investor();
        $res=$model->userlist();
        if ($res['code'] == 200) {
            return json_encode($res);
        } else {
            return json_encode(['code' => 401, 'message' => '绑定失败！', 'data' => '']);
        }
    }
}
